package test2;

public class Test {
    public static void main(String[] args) {
        Animal a = new Dog();
        Animal b = new Cat();
        a.doSome();
        b.doSome();
    }

}
